package com.ulic.customerManApplication.commonmodule.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.ulic.customerManApplication.commonmodule.bo.Menu;
import com.ulic.customerManApplication.commonmodule.dao.MenuDao;
import com.ulic.customerManApplication.commonmodule.service.MenuService;
@Component("menuService")
public class MenuServiceImpl implements MenuService {
	private MenuDao menuDao;

	public List<Menu> getMenu() throws Exception {
		return menuDao.getMenu();
	}
	
	@Resource
	public void setMenuDao(MenuDao menuDao) {
		this.menuDao = menuDao;
	}

}
